package com.restaurant.application.goodscategory;

import com.nebutown.description.UnitDescription;

public class GoodsCategoryDesc extends UnitDescription {
    public static void main(String[] args) {
        UnitDescription desc = UnitDescription.basicUnit(GoodsCategory.class, "CategoryData");

        desc.nextBean("CategoryData")
                .add("categoryName", String.class)
                .add("recordId", Integer.class)
                .add("createTime", Long.class)
                // 折扣
                .add("categoryNumber", String.class);

        desc.run("./");
    }
}
